package com.baizhi.dao;

import com.baizhi.entity.Album;
import com.baizhi.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2019/4/7.
 */
public interface AlbumDao {
    List<Album> selectAllAlbum(@Param("begin")int begin,@Param("size")int size,@Param("albumName")String albumName);
    Integer selectAllAlbumCount(@Param("albumName") String albumName);
    void addAlbum(@Param("album")Album album);
    void delateAlbum(@Param("ids")Integer[] ids);
    void updateAlbum(@Param("album")Album album);


    List<Album> selectHomePageAlbum();

    List<Album> appselectAllAlbum();
}
